// 跨域配置
module.exports = {
  devServer: {
    port: 9876,
    proxy: {
      '/api': {
        target: "http://localhost:8081",
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/'
        }
      }
    }
  }
}